package com.drg.center.entity.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: zhangxilin
 * @Date: 2021/12/21
 */
@ApiModel("登录信息VO")
@Data
public class SysLoginVO implements Serializable {

    @ApiModelProperty("管理员账号")
    private String username;

    @ApiModelProperty("真实姓名")
    private String realName;

    @ApiModelProperty("访问令牌")
    private String AccessToken;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("账号类型（0:普通用户 1:系统管理员）")
    private Integer accType;

    @ApiModelProperty("系统编号")
    private String sysCode;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("所属部门")
    private String deptName;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private LocalDateTime createTime;

}
